<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Membership Levels</title>
<load href="__PUBLIC__/Js/Base.js" />
<load href="__PUBLIC__/Js/prototype.js" />
<load href="__PUBLIC__/Js/mootools.js" />
<load href="__PUBLIC__/Js/Ajax/ThinkAjax.js" />
<link href="__PUBLIC__/css/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
	function add() {
		ThinkAjax.sendForm('dataForm', '__URL__/insert', complete, 'result');
	}
	function complete(data, status) {
		if (status == 1) {
			window.setTimeout(function() {
				window.location.href = '__URL__', 20000
			});
		} else {

		}
	}
</script>
</head>
<body>
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td width="17" height="29" valign="top"
				background="__PUBLIC__/images/mail_leftbg.gif"><img
				src="__PUBLIC__/images/left-top-right.gif" width="17" height="29" /></td>
			<td width="935" valign="top"
				background="__PUBLIC__/images/content-bg.gif">
				<table width="100%" height="31" border="0" cellpadding="0"
					cellspacing="0" class="left_topbg" id="table2">
					<tr>
						<td height="31"><div class="titlebt">商品分类管理</div></td>
					</tr>
				</table>
			</td>
			<td width="16" valign="top"
				background="__PUBLIC__/images/mail_rightbg.gif"><img
				src="__PUBLIC__/images/nav-right-bg.gif" width="16" height="29" /></td>
		</tr>
		<tr>
			<td height="71" valign="middle"
				background="__PUBLIC__/images/mail_leftbg.gif">&nbsp;</td>
			<td valign="top" bgcolor="#F7F8F9"><table width="100%"
					height="138" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td height="13" valign="top">&nbsp;</td>
					</tr>
					<tr>
						<td valign="top">
							<table width="98%" border="0" align="center" cellpadding="0"
								cellspacing="0">
								<tr>
									<td class="left_txt">当前位置：<a href="__URL__">商品分类管理</a></td>
								</tr>
								<tr>
									<td height="20"><table width="100%" height="1" border="0"
											cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
											<tr>
												<td></td>
											</tr>
										</table></td>
								</tr>
								<tr>
									<td><table width="100%" height="31" border="0"
											cellpadding="0" cellspacing="0" class="nowtable">
											<tr>
												<td class="left_bt2">&nbsp;&nbsp;&nbsp;&nbsp;商品分类管理</td>
											</tr>
										</table></td>
								</tr>
								<tr>
									<td>
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
											<form id="dataForm" name="dataForm" method="POST" action="__URL__/insert" enctype="multipart/form-data">
												<tr>
													<td width="20%" height="30" align="right" bgcolor="#f2f2f2"
														class="left_txt2">分类编号：</td>
													<td width="3%" bgcolor="#f2f2f2">&nbsp;</td>
													<td width="32%" height="30" bgcolor="#f2f2f2"><input name="category_no" type="text" id="category_no" size="30" /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">分类名称：</td>
													<td>&nbsp;</td>
													<td height="30"><input type="text"
														name="category_name" size="30" id="category_name" /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">分类图片：</td>
													<td>&nbsp;</td>
													<td height="30"><input name="pic" id="pic" type="file" class="file huge" /></td>
												</tr>
												<tr>
													<td height="30" align="right" class="left_txt2">父分类编号：</td>
													<td>&nbsp;</td>
													<td height="30">
														<select id="parent" name="parent" style="width:200px">
                                                            <option value="0">Please slect</option>
															<volist name="parents" id="vo">
															<option value="{$vo.id}">{$vo.category_name}</option>
															</volist>
														</select>
													</td>
												</tr>
											<tr>
												<td height="30" align="right" class="left_txt2">描述：</td>
												<td>&nbsp;</td>
												<td><textarea name="description" rows="15" cols="100"></textarea>
												</td>
											</tr>
											<tr>
												<td height="30" align="right" class="left_txt2">推荐：</td>
												<td>&nbsp;</td>
												<td height="30">
													<select id="featured" name="featured">
														<option value="1">Y</option>
														<option value="0">N</option>
													</select>
												</td>
											</tr>
											<tr>
												<td height="30" align="right" class="left_txt2">排序编号：</td>
												<td>&nbsp;</td>
												<td height="30">
													<input name="order_key" type="text" id="order_key" size="30" />
												</td>
											</tr>
											<tr>
												<td width="50%" height="30" align="center" colspan="4"><input
													type="submit" value="Submit" name="B1" />
													&nbsp;&nbsp;&nbsp; <input type="reset" value="Reset"
													name="B12" /></td>
											</tr>
											</form>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
</body>
</html>